﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace University.Workshop.Model
{
    [Table("Ambulance")]
    public class Ambulance
    {
        public string AmbulanceId { set; get;}
        public string Model { set; get;}
        public string Year { set; get;}
        public string PurchaseYear { set; get; }
        public string State { set; get; }
        public string Deleted { set; get; }

        public Ambulance(string ambulanceId, string model, string year, string purchaseYear, string state, string deleted)
        {
            this.AmbulanceId = ambulanceId;
            this.Model = model;
            this.Year = year;
            this.PurchaseYear = purchaseYear;
            this.State = state;
            this.Deleted = deleted;
        }

        public Ambulance()
        { 
        }
    }
}
